package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("发布信息实体")
public class PushInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "省")
    private Integer provinceId;

    @ApiModelProperty(value = "市")
    private Integer cityId;

    @ApiModelProperty(value = "区")
    private Integer districtId;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "信息描述")
    private String content;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @ApiModelProperty(value = "状态:1-启用;0-停用;2-待审核;3-不通过;4-待支付")
    private Integer status;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "是否删除: 0=否, 1=是")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

    @ApiModelProperty(value = "过期时间")
    private Long expireDate;

    @ApiModelProperty(value = "分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "外部订单")
    private String orderSn;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal price;

    @ApiModelProperty("支付状态：0-已支付；1-已支付")
    private Integer payIs;

    @ApiModelProperty("支付方式: [0=未知, 1=余额, 2=微信, 3=支付宝]")
    private Integer payWay;

    @ApiModelProperty("支付时间")
    private Long payTime;

    @ApiModelProperty("流水号")
    private String transactionId;

    @ApiModelProperty(value = "浏览量")
    private Integer visit;

    @ApiModelProperty(value = "发布标题")
    private String titleName;

    @ApiModelProperty(value = "置顶 0否 1是")
    private Boolean isTop;

}
